package com.ocom.payconfig.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.ocom.common.entity.payconfig.EntityRestStaff;
import com.ocom.common.request.payconfig.staff.GetRestStaffListRequest;
import com.ocom.common.request.payconfig.staff.RemoveRestStaffRequest;

public interface RestStaffService extends IService<EntityRestStaff> {
    PageInfo<EntityRestStaff> getList(Long companyId, GetRestStaffListRequest request);

    Boolean removeRestStaff(Long companyId, RemoveRestStaffRequest request);

    Boolean newRestStaff(Long companyId, EntityRestStaff entityRestStaff);

    Boolean updateRestStaff(Long companyId, EntityRestStaff entityRestStaff);


}
